home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
fbifile
/
read.me
< prev
Wrap
Text File
|
1993-01-17
|
2KB
|
45 lines
This source code demonstrates the use of the mmsystem.dll to
play .wav files. Be sure to check Global module for the syntax
to declare the function. There are numerous calls to this
function located in most of the forms with comments which
explain the parameters required. Most of the calls are in the
formname.Active event.
To install:
Copy all files to any directory you choose.
The wave files (*.wav) MUST be in the same directory
as the executable file (fbifile.exe).
Note exception below.
To run from Windows:
Run it as you would any other Windows program,
either from the File,Run command in Program
Manager or File Manager, or by double clicking
fbifile.exe in File Manager.
Personally, I don't recommend setting up a
Program Manager application icon, because you
probably won't run it that often. (I didn't even
even include an icon to set it up with).
To run from the Visual Basic environment:
Open the project file (fbifile.mak) and run it
normally. The only difference is the wave files
MUST now be located in the current working directory,
which is probably your Visual Basic directory.
This quirk can be corrected easy enough by adding code
to the program to supply the proper directory that
the .wav's are located in.
Feel free to expand on this program however you want.
All I ask is that you let me know what you've done to it,
just out of curiosity. I'm not interested in critiques,
though. My intention was never to write a well written
program. I threw most of this together in just a couple
of hours.